/**
 * @filename:StudentClassDao StudentClass
 * @project constract  V1.0
 * Copyright(c) 2018 lin keqing Co. Ltd. 
 * All right reserved. 
 */
package com.znufe.exam.repository;

import java.util.List;

import com.znufe.exam.domain.classes.StudentClassResponseObject;
import com.znufe.exam.viewmodel.admin.classes.StudentClassPageRequestVM;
import org.apache.ibatis.annotations.Mapper;
import com.znufe.exam.domain.StudentClass;

/**   
 *  
 * @Description:  班级信息表——Mapper
 * @Author:       lin keqing   
 * @CreateDate:   StudentClass
 * @Version:      V1.0
 *    
 */
@Mapper
public interface StudentClassMapper extends BaseMapper<StudentClass> {
	
	StudentClass selectByPrimaryKey(Integer id);

	StudentClass selectByClassName(String className);
	
	int deleteByPrimaryKey(Integer id);
	
	int insertSelective(StudentClass studentClass);
	
	int updateByPrimaryKeySelective(StudentClass studentClass);

	List<StudentClassResponseObject> studentClassPage(StudentClassPageRequestVM requestVM);
	
	List<StudentClass> queryStudentClassList(StudentClass studentClass);

	Integer selectClassStuCountById(Integer classId);
}
